package cn.rc.rcsystem.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author director
 * @since 2022-12-09
 */
@TableName("road_rescue_older")
public class RoadRescueOlder extends Model<RoadRescueOlder> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String sn;
    @TableField("user_id")
    private Long userId;
    @TableField("employee_ids")
    private Long employeeIds;
    @TableField("car_number")
    private String carNumber;
    private BigDecimal price;
    private String remarks;
    private String brand;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getEmployeeIds() {
        return employeeIds;
    }

    public void setEmployeeIds(Long employeeIds) {
        this.employeeIds = employeeIds;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "RoadRescueOlder{" +
        ", id=" + id +
        ", sn=" + sn +
        ", userId=" + userId +
        ", employeeIds=" + employeeIds +
        ", carNumber=" + carNumber +
        ", price=" + price +
        ", remarks=" + remarks +
        ", brand=" + brand +
        "}";
    }
}
